A simple Python script that generates a static HTML dashboard displaying GitHub Actions workflow status badges for multiple repositories in an organization.
Clone this repository:
git clone https://github.com/yourusername/wall.git
cd wall
Create a virtual environment and install dependencies:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Create a GitHub Personal Access Token:
repo and workflow scopesCreate a .env file with your token:
echo "GITHUB_TOKEN=your_token_here" > .env
Configure repositories in config/repos.json:
{
"organization": "your-org-name",
"repositories": [
{
"name": "repo-name",
"workflows": ["all"] // or ["specific-workflow-name"]
}
]
}
Run the script to generate the badge wall:
python generate_badges.py
This will create an index.html file in the current directory. Open it in your browser to view the workflow badges.
MIT